import request from '../utils/request'


export const queryAllRoleByPage = (current,size,roleName,remark) => {
  return request({
    url: '/system/role/queryAllRoleByPage',
    method: 'get',
    params: {
      current,
      size,
      roleName,
      remark,
    }
  });
}
export const updateRoleById = (status,id) => {
  return request({
    url: '/system/role/updateRoleById2',
    method: 'get',
    params: {
      status,
      id
    }
  });
}
export const deleteRoleById = (id) => {
  return request({
    url: '/system/role/deleteRoleById',
    method: 'get',
    params: {
      id
    }
  });
}
